@import "~normalize.css";
@import "~antd/dist/antd.css";
@import "~nprogress/nprogress.css";
@import '~braft-editor/dist/index.css';
@import "../font/iconfont.css";

/* 样式的重置 */
body,
html,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
dl,
dt,
dd,
header,
menu,
section,
p,
input,
td,
th,
ins {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

i,
em {
  font-style: normal;
}

input,
textarea,
button,
select,
a {
  outline: none;
  border: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  width: 100%;
  height: 100%;
  border: none;
  vertical-align: middle;
}

/* 全局样式 */
body,
textarea,
select,
input,
button {
  font-size: 15px;
  color: #121212;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-track-piece {
  background-color: #f8f8f8;
}

::-webkit-scrollbar {
  width: 2px;
  height: 9px;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(130, 180, 255);
  background-clip: padding-box;
  min-height: 28px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(130, 180, 255);
}

.text-nowrap {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.text-two-nowrap {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.text-three-nowrap {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.app-header {
  background-clip: content-box;
  background-color: #ffffff;
  transition-property: background-color, box-shadow, transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 52px;
  opacity: 1;
  transform: translateY(0);
  z-index: 999;
}

.app-header .wrap-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrap-v1 {
  position: relative;
  width: 1000px;
  padding: 10px 16px;
  margin: 0 auto;
}

.wrap-v2 {
  width: auto;
  max-width: 1156px;
  min-width: 1000px;
  padding-left: 16px;
  padding-right: 30px;
  margin: 0 auto;
}

.card {
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgb(18 18 18 / 10%);
}

.is-to-block {
  display: block !important;
}

.is-to-none {
  display: none !important;
}

.is-to-inline {
  display: inline !important;
}

.topstoryItem {
  /* position: relative; */
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f7;
}

.content-item-title {
  margin: -4px 0;
  line-height: 1.6;
  color: #121212;
  font-size: 18px;
  font-weight: 600;
}

.content-item-title a:hover {
  color: #175199;
}

.discover-a-title {
  font-size: 20px;
  font-weight: 600;
  display: block;
  height: 28px;
  line-height: 28px;
}

.discover-count {
  height: 17px;
  line-height: 17px;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.follow-btn {
  flex-shrink: 0;
  margin-left: 20px;
}

.follow-btn .btn {
  background-color: rgba(0, 102, 255, 0.08);
  width: 102px;
  border-radius: 3px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.container-box-shadow {
  box-shadow: 0 1px 3px 0 rgb(18 18 18 / 10%);
}

.ant-back-top {
  right: 12px !important;
}
